<?php require_once('include/header.php'); ?>
<?php
$facebook->require_frame();
$user = $facebook->require_login();

// Render the friend selector in an iframe.
?>
<div style="padding: 10px;">
  <fb:request-form method="post" action="index.php" content="See latest Videos, Images, Find Friends, Voting contest and many more on <?=$app_name; ?>  Application. Welcome to Jotin and delivered straight to your profile! <?php echo htmlentities("<fb:req-choice url=\"http://apps.facebook.com/facebook_video\" label=\"Sweet! Add it!\" />"); ?>" type="FASHION" invite="true">
  <fb:multi-friend-selector actiontext="Select your friends to Invite on this <?=$app_name; ?> Application!" rows="3"/>
  </fb:request-form>
</div>
